package pojo;

/**
 * @author Macro_Ray
 * @since 2024/4/28 下午4:38
 */
public class City {
    private Integer id;
    private String name;
    private String countrt;
    private Integer population;
    private String province;


    public City() {
    }

    public City(Integer id, String name, String countrt, Integer population, String province) {
        this.id = id;
        this.name = name;
        this.countrt = countrt;
        this.population = population;
        this.province = province;
    }

    /**
     * 获取
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * 设置
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取
     * @return name
     */
    public String getName() {
        return name;
    }

    /**
     * 设置
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 获取
     * @return countrt
     */
    public String getCountrt() {
        return countrt;
    }

    /**
     * 设置
     * @param countrt
     */
    public void setCountrt(String countrt) {
        this.countrt = countrt;
    }

    /**
     * 获取
     * @return population
     */
    public Integer getPopulation() {
        return population;
    }

    /**
     * 设置
     * @param population
     */
    public void setPopulation(Integer population) {
        this.population = population;
    }

    /**
     * 获取
     * @return province
     */
    public String getProvince() {
        return province;
    }

    /**
     * 设置
     * @param province
     */
    public void setProvince(String province) {
        this.province = province;
    }

    public String toString() {
        return "City{id = " + id + ", name = " + name + ", countrt = " + countrt + ", population = " + population + ", province = " + province + "}";
    }
}
